home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / taskview.zip / ctl3d.h next >
Text File  |  1994-12-30  |  2KB  |  67 lines

  1. /**************************************************/
  2. /*                                                */
  3. /*   Unit CTL3D - Version 2.0                     */
  4. /*                                                */
  5. /**************************************************/
  6.  
  7.  
  8.  
  9.  
  10. /* Ctl3dSubclassDlg3d flags */
  11. #define  CTL3D_BUTTONS      0x0001
  12. #define  CTL3D_LISTBOXES    0x0002
  13. #define  CTL3D_EDITS        0x0004
  14. #define  CTL3D_COMBOS       0x0008
  15. #define  CTL3D_STATICTEXTS  0x0010
  16. #define  CTL3D_STATICFRAMES 0x0020
  17. #define  CTL3D_NODLGWINDOW  0x00010000
  18.  
  19. #define  CTL3D_ALL           0xffff
  20.  
  21.  
  22. #define WM_DLGBORDER       WM_USER+3567
  23.       /* WM_DLGBORDER PInteger(lParam)^ return codes */
  24. #define Ctl3d_NoBorder     0
  25. #define Ctl3d_Border       1
  26.  
  27. #define WM_DLGSUBCLASS     WM_USER+3568
  28.       /* WM_DLGSUBCLASS PInteger(lParam)^ return codes */
  29. #define  Ctl3d_NoSubclass   0
  30. #define  Ctl3d_Subclass     1
  31.  
  32.  
  33. BOOL   PASCAL FAR Ctl3dSubclassDlg  (HWND HWnd, WORD GrBits);
  34. BOOL   PASCAL FAR Ctl3dSubclassDlgEx(HWND HWnd, DWORD GrBits);
  35. WORD   PASCAL FAR Ctl3dGetVer (void);
  36. BOOL   PASCAL FAR Ctl3dEnabled (void);
  37. HBRUSH PASCAL FAR Ctl3dCtlColorEx (WORD Message, WORD wParam, LPARAM lParam);
  38. BOOL   PASCAL FAR Ctl3dColorChange (void);
  39. BOOL   PASCAL FAR Ctl3dSubclassCtl(HWND HWnd);
  40. DWORD  PASCAL FAR Ctl3dDlgFramePaint(HWND HWnd, WORD Message, WORD wParam, LPARAM lParam);
  41. BOOL   PASCAL FAR Ctl3dAutoSubclass (HINSTANCE Instance);
  42. BOOL   PASCAL FAR Ctl3dRegister(HINSTANCE Instance);
  43. BOOL   PASCAL FAR Ctl3dUnregister(HINSTANCE Instance);
  44. /* begin DBCS: far east short cut key support */
  45. void   PASCAL FAR Ctl3dWinIniChange (void);
  46. /* end DBCS */
  47.  
  48. /*
  49. implementation
  50.  
  51. function  Ctl3dGetVer;       external 'Ctl3d' index 1;
  52. function  Ctl3dSubclassDlg;  external 'Ctl3d' index 2;
  53. function  Ctl3dSubclassCtl;  external 'Ctl3d' index 3;
  54. function  Ctl3dCtlColor;     external 'Ctl3d' index 4;
  55. function  Ctl3dEnabled;      external 'Ctl3d' index 5;
  56. function  Ctl3dColorChange;  external 'Ctl3d' index 6;
  57. function  Ctl3dRegister;     external 'Ctl3d' index 12;
  58. function  Ctl3dUnregister;   external 'Ctl3d' index 13;
  59. function  Ctl3dAutoSubclass; external 'Ctl3d' index 16;
  60. function  Ctl3dCtlColorEx;   external 'Ctl3d' index 18;
  61. function  Ctl3dDlgFramePaint;external 'Ctl3d' index 20;
  62. function  Ctl3dSubclassDlgEx;external 'Ctl3d' index 21;
  63. procedure Ctl3dWinIniChange ;external 'Ctl3d' index 22;
  64.  
  65. end.
  66. */
  67.